/*eslint-disable*/
// 引导页面
import React, {useState} from 'react';
import {StyleSheet, View} from 'react-native';
import MySwiper from '../components/MySwiper.js';

const Introduction = () => {
  const [swiperImgs, setSwiperImgs] = useState([
    {
      id: 1,
      img: require('../assets/yindao1.png')
    },
    {
      id: 2,
      img: require('../assets/yindao2.png')
    },
    {
      id: 3,
      img: require('../assets/yindao3.png')
    },
  ]);
  return (
    <View style={styles.introductionPage}>
      <MySwiper images={swiperImgs}></MySwiper>
    </View>
  );
};

// 引导页 配置手机顶部状态栏topBar，底部bottomTab
Introduction.options = {
  topBar: {
    visible: false,
  },
  statusBar: {
    visible: false,
  },
};

export default Introduction;

const styles = StyleSheet.create({
  introductionPage: {
    flex: 1
  }
});
